package cn.tedu.store.mapper;

import cn.tedu.store.entity.District;
import com.baomidou.dynamic.datasource.annotation.DS;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@DS("master")
@Mapper
public interface DistrictMapper {
	
	List<District> findByParent(String parent);
	
	District findByCode(String code);

}
